Optimal. Leaf size=89 \[ \frac {(5 A+6 C) \sin (c+d x) \cos ^3(c+d x)}{24 d}+\frac {(5 A+6 C) \sin (c+d x) \cos (c+d x)}{16 d}+\frac {A \sin (c+d x) \cos ^5(c+d x)}{6 d}+\frac {1}{16} x (5 A+6 C) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {4045, 2635, 8} \[ \frac {(5 A+6 C) \sin (c+d x) \cos ^3(c+d x)}{24 d}+\frac {(5 A+6 C) \sin (c+d x) \cos (c+d x)}{16 d}+\frac {A \sin (c+d x) \cos ^5(c+d x)}{6 d}+\frac {1}{16} x (5 A+6 C) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2635
Rule 4045
Rubi steps
\begin {align*} \int \cos ^6(c+d x) \left (A+C \sec ^2(c+d x)\right ) \, dx &=\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}+\frac {1}{6} (5 A+6 C) \int \cos ^4(c+d x) \, dx\\ &=\frac {(5 A+6 C) \cos ^3(c+d x) \sin (c+d x)}{24 d}+\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}+\frac {1}{8} (5 A+6 C) \int \cos ^2(c+d x) \, dx\\ &=\frac {(5 A+6 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {(5 A+6 C) \cos ^3(c+d x) \sin (c+d x)}{24 d}+\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}+\frac {1}{16} (5 A+6 C) \int 1 \, dx\\ &=\frac {1}{16} (5 A+6 C) x+\frac {(5 A+6 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {(5 A+6 C) \cos ^3(c+d x) \sin (c+d x)}{24 d}+\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 68, normalized size = 0.76 \[ \frac {(45 A+48 C) \sin (2 (c+d x))+(9 A+6 C) \sin (4 (c+d x))+A \sin (6 (c+d x))+60 A c+60 A d x+72 c C+72 C d x}{192 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 68, normalized size = 0.76 \[ \frac {3 \, {\left (5 \, A + 6 \, C\right )} d x + {\left (8 \, A \cos \left (d x + c\right )^{5} + 2 \, {\left (5 \, A + 6 \, C\right )} \cos \left (d x + c\right )^{3} + 3 \, {\left (5 \, A + 6 \, C\right )} \cos \left (d x + c\right )\right )} \sin \left (d x + c\right )}{48 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 96, normalized size = 1.08 \[ \frac {3 \, {\left (d x + c\right )} {\left (5 \, A + 6 \, C\right )} + \frac {15 \, A \tan \left (d x + c\right )^{5} + 18 \, C \tan \left (d x + c\right )^{5} + 40 \, A \tan \left (d x + c\right )^{3} + 48 \, C \tan \left (d x + c\right )^{3} + 33 \, A \tan \left (d x + c\right ) + 30 \, C \tan \left (d x + c\right )}{{\left (\tan \left (d x + c\right )^{2} + 1\right )}^{3}}}{48 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.95, size = 86, normalized size = 0.97 \[ \frac {A \left (\frac {\left (\cos ^{5}\left (d x +c \right )+\frac {5 \left (\cos ^{3}\left (d x +c \right )\right )}{4}+\frac {15 \cos \left (d x +c \right )}{8}\right ) \sin \left (d x +c \right )}{6}+\frac {5 d x}{16}+\frac {5 c}{16}\right )+C \left (\frac {\left (\cos ^{3}\left (d x +c \right )+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 103, normalized size = 1.16 \[ \frac {3 \, {\left (d x + c\right )} {\left (5 \, A + 6 \, C\right )} + \frac {3 \, {\left (5 \, A + 6 \, C\right )} \tan \left (d x + c\right )^{5} + 8 \, {\left (5 \, A + 6 \, C\right )} \tan \left (d x + c\right )^{3} + 3 \, {\left (11 \, A + 10 \, C\right )} \tan \left (d x + c\right )}{\tan \left (d x + c\right )^{6} + 3 \, \tan \left (d x + c\right )^{4} + 3 \, \tan \left (d x + c\right )^{2} + 1}}{48 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.94, size = 91, normalized size = 1.02 \[ x\,\left (\frac {5\,A}{16}+\frac {3\,C}{8}\right )+\frac {\left (\frac {5\,A}{16}+\frac {3\,C}{8}\right )\,{\mathrm {tan}\left (c+d\,x\right )}^5+\left (\frac {5\,A}{6}+C\right )\,{\mathrm {tan}\left (c+d\,x\right )}^3+\left (\frac {11\,A}{16}+\frac {5\,C}{8}\right )\,\mathrm {tan}\left (c+d\,x\right )}{d\,\left ({\mathrm {tan}\left (c+d\,x\right )}^6+3\,{\mathrm {tan}\left (c+d\,x\right )}^4+3\,{\mathrm {tan}\left (c+d\,x\right )}^2+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________